package edu.jptest.service;

import edu.jptest.bean.Answer;

public interface IAnswerService {

	// 插入答案�����
	public boolean addAnswer(Answer answer);

	// 删除答案
	public boolean deleteAnswer(int answerId);

	// 修改答案��Ĵ�
	public boolean modifyAnswer(Answer answer);

	// 通过答案id，查询答案对象�𰸶���
	public Answer getAnswerByAnswerId(int answerId);
	
	// 通过答案内容，查询答案ID
	public int getAnswerIdByAnswer(Answer answer);

}
